package com.demo.controller;

import com.demo.service.UserService;
import cz.jirutka.rsql.parser.RSQLParser;
import cz.jirutka.rsql.parser.ast.Node;
import org.springframework.stereotype.Service;


/**
 * @author mifei
 * @create 2020-07-30 16:25
 **/
@Service
public class UserServiceImpl implements UserService {

	/**
	 * 测试方法
	 */
	public void test(String condition){
		Node rootNode = new RSQLParser().parse(condition);
	}

	public static void main(String[] args) {
		Node rootNode = new RSQLParser().parse("name==\"Kill , ; > <  Bill\";version=ge=2.0");

		System.out.println(rootNode);


	}

	@Override
	public void test(int b) {

	}
}
